package com.engine.salary.entity.salaryarchive.dto;

import com.engine.salary.annotation.TableTitle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 个税扣缴义务人调整记录列表
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//个税扣缴义务人调整记录列表")
//@TableOperates(value = {
//        @Operates(index = 0, text = "编辑" ,labelId = 59943),
//        @Operates(index = 1, text = "删除" ,labelId = 59942)
//}, tableType = WeaTableTypeEnum.NONE)
public class SingleTaxAgentAdjustRecordListDTO {
    //    //主键id")
//    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @TableTitle(title = "调整前", dataIndex = "adjustBefore", key = "adjustBefore")
    private String adjustBefore;

    @TableTitle(title = "调整后", dataIndex = "adjustAfter", key = "adjustAfter")
    private String adjustAfter;

    @TableTitle(title = "调整原因", dataIndex = "adjustReason", key = "adjustReason")
    private String adjustReason;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableTitle(title = "生效日期", dataIndex = "effectiveTime", key = "effectiveTime")
    private Date effectiveTime;

    @TableTitle(title = "操作人", dataIndex = "operator", key = "operator")
    private String operator;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableTitle(title = "操作时间", dataIndex = "operateTime", key = "operateTime")
    private Date operateTime;
    //

    @TableTitle(title = "备注", dataIndex = "description", key = "description")
    private String description;

    /**
     * 薪资档案id
     */
//    @JsonIgnore
    private Long salaryArchiveId;
    //
    /**
     * 个税扣缴义务人id
     */
//    @JsonIgnore
    private Long taxAgentId;

    /**
     * 是否有操作按钮
     */
    private Boolean canOperator;


}
